package cn.kxx.service.impl;

import cn.kxx.mapper.TravellerMapper;
import cn.kxx.pojo.Traveller;
import cn.kxx.service.TravellerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Auther: Kong Xiang Xiang
 * @Date: 2022/11/8 20:31
 * @DESC:
 */
@Service
public class TravellerServiceImpl implements TravellerService {
    @Autowired
    private TravellerMapper travellerMapper;
    @Override
    public List<Traveller> findAll() {
        List<Traveller> lis = travellerMapper.findAll();
        return lis;
    }
}
